<?php

namespace Iyting\Tiktok\MiniProgram\Trade;

use Iyting\Tiktok\Kernel\BaseClient;

class Settle extends BaseClient
{
    protected $needAccessToken = false;
    protected $needClientToken = true;
    protected  $baseUri = 'https://open.douyin.com/api/apps/trade/v2/';

    public function querySettle($billcode)
    {
        $params['out_order_no'] = $billcode;


        return $this->httpPostJson('settle/query_settle',$params);

    }
}